﻿using UnityEngine;
using System.Collections;

namespace Room
{
    public class RCAIUnionMonsterBase
    {
        public RCAIUnionMonster controller;
        
        public void Enter()
        {
            this.OnEnter();
        }
        public void Leave()
        {
            this.OnLeave();
        }

        public void Tick()
        {
            this.OnTick();
        }

        public void Enter(object param)
        {
            this.OnEnter(param);
        }

        protected virtual void OnEnter(object param)
        {

        }

        protected virtual void OnTick()
        { }
        protected virtual void OnLeave()
        { }
        protected virtual void OnEnter()
        { }
        
    }
}